﻿using OpenCvSharp;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VIA.Integration.Alarms;
using VIA.RbacPassport;

namespace VIA.Project.Domain.Services
{
    public static class LoggerCategory
    {
        public const string Default = nameof(Default);
        public const string Alarm = nameof(Alarm);
        public const string RunningInfo = nameof(RunningInfo);
        public const string GongLiao = nameof(GongLiao);
        public const string BanYun = nameof(BanYun);
        public const string SiMo = nameof(SiMo);
        public const string Communication = nameof(Communication);

        public static Dictionary<string, string> Categories = new Dictionary<string, string>()
        {
            { RunningInfo,"运行信息"},
            { BanYun,"搬运模组"},
            { SiMo,"撕膜工位"},
            { GongLiao,"供料模组"},
            { Alarm,"报警信息"},
        };

        public static IEnumerable<string> GetCategory()
        {
            //yield return Default;
            yield return Alarm;
            yield return RunningInfo;
            yield return GongLiao;
            yield return BanYun;
            yield return SiMo;
        }
    }
}
